package com.esiag.loadbalancer.impl;

import com.esiag.pdsteam.loadbalancer.INotifier;

public class Notifier<TInfo> implements INotifier<TInfo> {

	private LoadBalancer<?, TInfo> mLoadBalancer;
	
	public void notify(TInfo pNotification) {

		mLoadBalancer.loadBalance(pNotification);	
	}
	
	public LoadBalancer<?, TInfo> getLoadBalancer() {
		return mLoadBalancer;
	}
	
	public void setLoadBalancer(LoadBalancer<?, TInfo> pLoadBalander) {
		mLoadBalancer = pLoadBalander;
	}
}
